package cn.stylefeng.guns.modular.tool.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.tool.entity.ToolInstall;
import cn.stylefeng.guns.modular.tool.model.params.ToolInstallParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolInstallResult;

/**
 * 计件工资设置 Mapper 接口
 */
public interface ToolInstallMapper extends BaseMapper<ToolInstall> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2022-04-06
     */
    List<ToolInstallResult> customList(@Param("paramCondition") ToolInstallParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2022-04-06
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ToolInstallParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2022-04-06
     */
    Page<ToolInstallResult> customPageList(@Param("page") Page page, @Param("paramCondition") ToolInstallParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2022-04-06
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ToolInstallParam paramCondition);

	List<ToolInstallResult> findListBySpec(@Param("paramCondition")ToolInstallParam param,@Param("operateId")Long operateId);

	ToolInstallResult findBySpec(@Param("paramCondition")ToolInstallParam param, @Param("operateId")Long operateId);

}
